FROM registry.cn-hangzhou.aliyuncs.com/huangding/java8-ttf-dejavu
VOLUME /tmp
COPY ./target/car-loan.jar app.jar
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom -Duser.timezone=GMT+08","-jar","/app.jar"]
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone